home *** CD-ROM | disk | FTP | other *** search
/ Aminet 32 / Aminet 32 (1999)(Schatztruhe)[!][Aug 1999].iso / Aminet / dev / amos / AMOSList-0499.lzh / AMOSLIST / 000194_nobody_Sun Apr 25 06:16:37 1999.msg < prev    next >
Internet Message Format  |  1999-05-01  |  4KB

  1. Received: from onelist.com (pop.onelist.com [209.207.164.223])
  2.     by osf1.gmu.edu (8.8.8/8.8.8) with SMTP id GAA32408
  3.     for <mcox4@osf1.gmu.edu>; Sun, 25 Apr 1999 06:16:37 -0400 (EDT)
  4. Received: (qmail 21903 invoked by alias); 25 Apr 1999 10:56:05 -0000
  5. Received: (qmail 21888 invoked from network); 25 Apr 1999 10:56:00 -0000
  6. Received: from unknown (HELO brockman.tinet.ie) (159.134.237.30) by pop.onelist.com with SMTP; 25 Apr 1999 10:56:00 -0000
  7. Received: from p106.as2.naas1.tinet.ie ([159.134.254.106] helo=tinet.ie ident=declangorman) by brockman.tinet.ie with smtp (Exim 2.05 #23) id 10bLxb-00034c-00 for amos-list@onelist.com; Sun, 25 Apr 1999 11:16:28 +0100
  8. From: Declan Gorman <declangorman@tinet.ie>
  9. To: amos-list@onelist.com
  10. Date: Sun, 25 Apr 1999 11:04:15 +0000
  11. Message-ID: <yam7784.753.137061800@mail1.tinet.ie>
  12. In-Reply-To: <yam7783.426.1747096000@mail.agonet.it>
  13. X-Mailer: YAM 2.0Preview7 [020] - Amiga Mailer by Marcel Beck - http://www.yam.ch
  14. Mailing-List: list amos-list@onelist.com; contact amos-list-owner@onelist.com
  15. Delivered-To: mailing list amos-list@onelist.com
  16. Precedence: bulk
  17. List-Unsubscribe: <mailto:amos-list-unsubscribe@ONElist.com>
  18. Reply-to: amos-list@onelist.com
  19. Mime-Version: 1.0
  20. Content-Type: text/plain
  21. Subject: [amos-list] Re: A question on GUI extension & Gadtools
  22. Status: O
  23. X-Status: 
  24.  
  25. From: Declan Gorman <declangorman@tinet.ie>
  26.  
  27. Hello Pietro
  28.  
  29. On 23-Apr-99, you wrote:
  30.  
  31. > With the GUI V2 you can use the gadgets as zones. Anyway i like the idea,
  32. > and so probably i'll add the zones support.
  33.  
  34. That was probably what I was thinking of but if you add the zone support to
  35. a future release it woull be great.
  36.  
  37. > What are you doing????? :))
  38.  
  39. Basically I am trying to fit as much as I can into a window and I find
  40. sliders take up a lot more space than any other gadget.  I got the idea
  41. from a peecee application and I thought it was good so if I get it working
  42. it should improve my new application immensely.
  43.  
  44. > In order to detect if the mouse is over the gadget, you need the Gui
  45. > Check() command. It checks the specified X and Y coordinates to see if a
  46. > gadget exists. If a gadget does exist, the number of the gadget is
  47. > returned, else -1 is reported.
  48. > But before we need to real-time monitor the mouse movements... and so Gui
  49. > Mouse Report is the solution. 
  50. > This is the code: (i consider the window number 1 and the gadget 0)
  51. [snip]
  52.  
  53. I will have to incorporate your code with what I have already done but at a
  54. glance it looks like it might just work.
  55.  
  56. > This program doesn't work exactly as you want, because it's not possible
  57. > to do it exactly as you want :) 
  58.  
  59. I kind of guessed that but it does not stop me from trying but there are
  60. ways around such things.
  61.  
  62. >The only difference is the mouse key
  63. > handling. When you click on the gadget, the invisible slider start
  64. > moving..... when you click again somewhere it stop. I won't bother here,
  65. > anyway due to a problem with gadtools in this case you can only partially
  66. > check the mouse key press.
  67.  
  68. Damn that gadtools! ;)
  69.  
  70. > About the mouse click events.. is important to specify this:
  71. > when the user click the mouse, you'll receive *two* -11 events. The first
  72. > when the button is held, and the other when it's released. So you can
  73. > easly monitor if the mouse button is clicked or not. But in this specific
  74. > case, you *DON'T *receive the first -11 because you've clicked a gadget...
  75. > you receive just one mouse event (-11) when you release the key, hence
  76. > you're not able to check the hold/release action.
  77.  
  78. I will consider this while fine tuning my routine.
  79.  
  80. > P.S Now i've revised the GUI V2 TCP/IP core.... for this reason you're
  81. > waiting again! I'm sorry.. but i'm also working on *AmiGate* since AMOS
  82. > needs a killer application... and the old tcp/ip core was not enough :)
  83.  
  84. I'm an impatient kind of person but if you believe that it is for the
  85. better, well then I will just have to believe you. :)
  86.  
  87.  
  88. Declan.
  89.  
  90.  
  91. ------------------------------------------------------------------------
  92. Did you know that ONElist hosts some of the largest lists on the Internet?
  93. http://www.ONElist.com
  94. Our scaleable system is the most reliable free e-mail service on the Internet!
  95. ------------------------------------------------------------------------
  96. Official AMOS WWW: http://members.xoom.com/AmosFactory/front.html